package com.jier.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @program: admin
 * @description:
 * @Author: ls
 * @Date: 2022/1/18
 **/
@Controller
public class PageController {
    @GetMapping("/index")
    public String index(){
        return "index";
    }

    @GetMapping("/login")
    public String login(){
        return "login";
    }
    @GetMapping("/menu")
    public String menu2(){
        return "menu/menu";
    }
    @GetMapping("/show")
    public String show(){
        return "show";
    }
/*    @GetMapping("/tree")
    public String tree(){
        return "menu/tree";
    }
    @GetMapping("/menu1")
    public String menu1(){
        return "menu/menu1";
    }*/

}
